<?php
/**
 * Define root path
 */
if(!defined('APPPATH')) {
	define('APPPATH', dirname(realpath('index.php')).'/');
}
/**
 * Define root path for namespaces (for autoloader)
 * @var var
 */
define('CLASSPATH', APPPATH . 'app/');
/**
 * Define path for Smarty template engine
 * @var var
 */
define('SMARTYDIR', APPPATH . 'lib/Smarty/libs/');
/**
 * Define path for PHP Excel component
 * @var var
 */
define('PHPEXCELDIR', APPPATH . 'lib/PHPExcel/');
/**
 * Define path for Smarty template files
 * @var unknown_type
 */
define('TEMPLATES', APPPATH . 'tmpl/');

/**
 * Path for web items such as css and images
 * @var var
 */
define('WEBROOT', '/feedback');

/**
 * Path for domain
 * @var var
 */
define('WWW', 'http://www.cmweb.planet.ee');